var apiready;

apiready = function() {
  var $signin, $signinQQ, $signinWeixin;
  $signin = $('#signin');
  $signinQQ = $('#signin-qq');
  $signinWeixin = $('#signin-weixin');
  $signin.on(tap, function() {
    return L.sendSmsCode('13350804217').then(function(ret) {
      return api.alert({
        msg: ret
      });
    }).then(null, function(err) {
      return api.alert({
        msg: err
      });
    });
  });
  $signinQQ.on(tap, function() {
    return alert('ggodd');
  });
  return $signinWeixin.on('click', function() {
    return alert('bad');
  });
};
